package com.jinzecloud.reportapproval.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jinzecloud.reportapproval.utils.PageUtils;
import com.jinzecloud.reportapproval.utils.Query;

import com.jinzecloud.reportapproval.mapper.ProductSpecificationInfoMapper;
import com.jinzecloud.reportapproval.bean.ProductSpecificationInfo;
import com.jinzecloud.reportapproval.service.ProductSpecificationInfoService;


@Service("productSpecificationInfoService")
public class ProductSpecificationInfoServiceImpl extends ServiceImpl<ProductSpecificationInfoMapper, ProductSpecificationInfo> implements ProductSpecificationInfoService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ProductSpecificationInfo> page = this.page(
                new Query<ProductSpecificationInfo>().getPage(params),
                new QueryWrapper<ProductSpecificationInfo>()
        );

        return new PageUtils(page);
    }

}